descriptionMysterious cyberpunk electronic jewelry for boys and girls of all ages
last changeTue, 9 Apr 2024 20:38:44 +0000 (22:38 +0200)

Flashing Pendant. Mysterious cyberpunk electronic jewelry for boys and girls of all ages.

Blinking Pendant Blinking Pendant

The device based on Attiny10 and implements a simple algorithm of 1-dimensional cellular automaton. It has two modes of operation:

  1. Rule 22: When a threshold sequence is found, the device signals by light. When the value is exceeded -- by light and beeping.
  2. Rule 30. Gives shorter sequences and signals after passing the entire length of the array. This mode gives the opportunity to "play" with the image on long shutter speed. For example, if you synchronize the rotation of the device (on a string) with beeping and move in space, you can get interesting images of in time evolution.

Pendant Pattern

Modes are selecting by pressing the Reset button (selection is random, entropy is "caught" from electromagnetic interference :)

Try it, it's fun :)

Wiring

ATTINY pinout

(PCINT0/TPIDATA/OC0A/ADC0/AIN0) PB0     1   6  PB3 (RESET/PCINT3/ADC3)
GND                     2   5  VCC
(PCINT1/TPICLK/CLKI/ICP0/OC0B/ADC1/AIN1) PB1    3   4  PB2 (T0/CLKO/PCINT2/INT0/ADC2)

FTDI bitbang (ASP num _ ASP name (t10 name _ t10 num _ FTDI name))

1 miso  (TPIDATA 1 CTS)     2 vcc   (Vcc 5 Vcc)
3 sck   (TPICLK  3 DTR)     4 mosi  
5 reset (reset   6 RTS)     6 gnd   (gnd 2 gnd)

on IC (how to connet FTDI)

CTS RTS
gnd Vcc
DTR ---

Compile and flash

./make
./flash

Flashing Pendant

Charging

LIR1620 lithium rechargeable battery is used for power supply. A battery charger is included.

LIR1620 Charger LIR1620 Charger

License

Copyright © 2022 Dmitry Shalnov [interplaymedium.org]

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this files except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

shortlog
2024-04-09 Dmitry Shalnoffpics added in readme master
2023-09-22 Dmitry Shalnoffinitial commit
heads
7 months ago master
Contact me: dev (at) shalnoff (dot) com
PGP fingerprint: A6B8 3B23 6013 F18A 0C71 198B 83D8 C64D 917A 5717